<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

@include("admin.public.head");

<title>MWS Admin - Typography</title>

</head>

<body>
<!-- 
	<div id="mws-themer">
    	<div id="mws-themer-hide"></div>
        <div id="mws-themer-content">
        	<div class="mws-themer-section">
	        	<label for="mws-theme-presets">Presets</label> <select id="mws-theme-presets"></select>
            </div>
            <div class="mws-themer-separator"></div>
            <div class="mws-themer-section">
                <ul>
                    <li><span>Base Color</span> <div id="mws-base-cp" class="mws-cp-trigger"></div></li>
                    <li><span>Text Color</span> <div id="mws-text-cp" class="mws-cp-trigger"></div></li>
                    <li><span>Text Glow Color</span> <div id="mws-textglow-cp" class="mws-cp-trigger"></div></li>
                </ul>
            </div>
            <div class="mws-themer-separator"></div>
            <div class="mws-themer-section">
            	<ul>
                    <li><span>Text Glow Opacity</span> <div id="mws-textglow-op"></div></li>
                </ul>
            </div>
            <div class="mws-themer-separator"></div>
            <div class="mws-themer-section">
	            <button class="mws-button red small" id="mws-themer-getcss">Get CSS</button>
            </div>
        </div>
        <div id="mws-themer-css-dialog">
        	<div class="mws-form">
            	<div class="mws-form-row" style="padding:0;">
		        	<div class="mws-form-item">
                    	<textarea cols="auto" rows="auto" readonly="readonly"></textarea>
                    </div>
                </div>
            </div>
        </div>
    </div>
 -->

	@include("admin.public.top");

    <div id="mws-wrapper">
    @include("admin.public.left")
        
        <div id="mws-container" class="clearfix">
            <div class="container">
                <div>
                        @if ($errors->any())
                         <div class="alert alert-danger">
                         <ul>
                         @foreach ($errors->all() as $error)
                         <li>{{ $error }}</li>
                         @endforeach
                         </ul>
                         </div>
                        @endif
                </div>
            	<div class="mws-panel grid_8">
                	<div class="mws-panel-header">
                    	<span class="mws-i-24 i-create">添加文章</span>
                    </div>
                    <div class="mws-panel-body">
                    	<div class="mws-panel-content">
                    		<form action="{{url('admin/la')}}" method="post">
                                <input type="hidden" name="_token" value="{{csrf_token()}}">
                                <p>标题</p>
                                <p><input type="text" name="title" /></p>
                                <p>所属分类</p>
                                <div>
                                    <select name="pid" id="" style="width:150px;">
                                    <!-- 输出分类 -->
                                    @foreach ($data as $v)
                                     <option value="{{$v->cid}}">{{$v->name}}</option>
                                        @if (count($v->n) > 0)
                                             @foreach ($v->n as $k)
                                         <option value="{{$k->cid}}">&nbsp|-{{$k->name}}</option>
                                                    @if (count($k->n) > 0)
                                                         @foreach ($k->n as $kv)
                                                     <option value="{{$kv->cid}}">&nbsp&nbsp||--{{$kv->name}}</option>
                                                         @endforeach
                                                    @endif
                                             @endforeach
                                        @endif
                                    @endforeach
                                        
                                    </select>
                                </div>
                                <p>关键字</p>
                                <p><input type="text" name="keywords" /></p>
                                <p>描述不用超过100字</p>
                                <div>
                   <textarea  name="description"  id="" cols="30" rows="10"></textarea>
                                </div>
                                <p>上传图片</p>
                                <div>

                                </div>
                                <p>内容</p>
                                <div>
                                    <script style="width:100%;height:500px;" id="container" name="content" type="text/plain"></script>
                                </div>
                                <p><input name="" type="submit" value="提交" /> </p>
                            </form>
                                <!-- 配置文件 -->
                                <script type="text/javascript" src="{{ asset('resources/views/admin/public/baidu-php')}}/ueditor.config.js"></script>
                                <!-- 编辑器源码文件 -->
                                <script type="text/javascript" src="{{ asset('resources/views/admin/public/baidu-php')}}/ueditor.all.js"></script>
                                <!-- 实例化编辑器 -->
                                <script type="text/javascript">
                                    var editor = UE.getEditor('container');
                                </script>
                                <!--style给定宽度可以影响编辑器的最终宽度-->
                    	</div>
                    </div>
				</div>
                
            	<div class="mws-panel grid_4">
                	<div class="mws-panel-header">
                    	<span class="mws-i-24 i-list">List Styles</span>
                    </div>
                    <div class="mws-panel-body">
                    	<div class="mws-panel-content">
                        	<ul>
<form action="{{url('admin/uploads')}}" method="post"  id="name" enctype="multipart/form-data">
<input type="file" name="uploadFile">
<br>
<button class="btn btn-lg btn-info">提交信息</button>
<!-- <a href="###" id="id">上传</a> -->
</form>
                            </ul>

                        	<ol>
                            	<li>{{$ls->content}}</li>
                            	<li>Item 2</li>
                            	<li>Item 3</li>
                            	<li>Item 4</li>
                            	<li>Item 5</li>
                            	<li>Item 6</li>
                            	<li>Item 7</li>
                            	<li>Item 8</li>
                            </ol>
                        </div>
                    </div>
				</div>
                
			<!-- 	<div class="mws-panel grid_4">
                	<div class="mws-panel-header">
                    	<span class="mws-i-24 i-documents-1">Code Block</span>
                    </div>
                    <div class="mws-panel-body">
                    	<div class="mws-panel-content"> -->
<!-- <h3>Panel HTML Structure</h3>
<pre class="mws-code-html">
<div class="mws-panel grid_4">
	<!-- Panel Header 
    <div class="mws-panel-header">
        <span class="mws-i-24 i-documents-1">
        
        	Code Block
        </span>
    </div>
    <div class="mws-panel-body">
    </div>
</div>
</pre>
                        </div>
                    </div>
				</div>    
            </div>
            
        
            
        </div>
    </div> -->


</body>
</html>
